#ifndef WIDGETVARIANTBOOL_H
#define WIDGETVARIANTBOOL_H

#include <DefineLibUiQt.h>
#include <QtWidgets/QWidget>
#include <WidgetVariant.h>

namespace Ui {
class WidgetVariantBool;
}

class LIB_UI_QT_DLL WidgetVariantBool : public WidgetVariant
{
    Q_OBJECT

public:
    explicit WidgetVariantBool(QWidget *parent = 0);
    virtual ~WidgetVariantBool();
	// void setDisplayName(const QString& name);

    virtual void refreshByProperty(EItemMetaPropertyPtr p);
    virtual void buildConnect();
    virtual void clearConnect();

public slots:
    void slotCheckBoxStateChanged(int state);
signals:

private:
    Ui::WidgetVariantBool *ui;
};

#endif // WIDGETVARIANTBOOL_H
